<?php
class Configuration extends PIMP::Base::Singleton {
	// Database configuration
	static $db = array(
		'dsn' => 'mysql:host=localhost;dbname=mymusic',
		'username' => 'root',
		'password' => '',
		'persistent' => true
	);
	
	// Are we on localhost?
	static $local = true;
	
	// Messages
	static $language = 'en';
	
	// Absolute URLs to the http(s) server
	static $http_server = 'http://pimpproject/';
	static $https_server = 'http://pimpproject/';
	
	// Filesystem paths to binary directories
	static $path_to_bin = '/usr/bin';
	static $path_to_im = '/usr/bin';
	static $path_to_special = '/usr/bin';
	
	// Debug mode
	static $debug = 1;
	
	// Determines whether the email will be sent to the actual
	// destination or to a test email account
	static $send_emails = 0;
	
	// Email accounts
	static $test_email = '';
	static $abuse_email = '';
	
	// Verbose logging
	static $verbose = 0;
	
	// Go here in case of an error
	static $error_page = '/pages/error';
	
	// Cache and upload directory paths
	static $cache_directory = 'cache/';
	static $upload_directory = 'upload/';
	
	// Google maps API key
	static $google_maps_key = '';
}